﻿namespace HBKY.Shop.Model
{
    /// <summary>
    /// 数据操作返回值的处理
    /// </summary>
    public static class MessageModel
    {
        /// <summary>
        /// 获取成功
        /// </summary>
        public const string Success = "获取成功";

        /// <summary>
        /// 获取失败
        /// </summary>
        public const  string Error = "获取失败";

        /// <summary>
        /// 操作成功
        /// </summary>
        public const  string SaveSuccess = "操作成功!";

        /// <summary>
        /// 删除成功
        /// </summary>
        public const  string DeleteSuccess = "删除成功!";

        /// <summary>
        /// 登录成功
        /// </summary>
        public static readonly string LoginSuccess = "登录成功!";

        /// <summary>
        /// 登录失败,用户名或密码有误!
        /// </summary>
        public static readonly string LoginFail = "登录失败,用户名或密码有误!";

        /// <summary>
        /// 参数校验不通过
        /// </summary>
        public static readonly string ValidationError = "参数校验不通过!";

        /// <summary>
        /// 服务器连接异常，请联系管理员！
        /// </summary>
        public static readonly string ServerConnectionError = "服务器连接异常，请联系管理员！";

    }
}
